import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Admin } from 'src/entities/Admin';
import { AdminModelService } from './admin-model.service';

@Global()
@Module({
  imports : [TypeOrmModule.forFeature([Admin])],
  providers: [AdminModelService],
  exports : [AdminModelService]
})
export class AdminModelModule {}
